# Contributor: guddaff <guddaff@protonmail.com>
# Maintainer: guddaff <guddaff@protonmail.com>
pkgname=spnavcfg
pkgver=1.0
pkgrel=0
pkgdesc="spacenav interactive configuration GUI"
url="http://spacenav.sourceforge.net/"
arch="all"
license="GPL-3.0-or-later"
makedepends="qt5-qtbase-dev libspnav-dev"
options="!check" # no checks
source="$pkgname-$pkgver.tar.gz::https://github.com/FreeSpacenav/spnavcfg/archive/refs/tags/v$pkgver.tar.gz"

build() {
	# not automake
	./configure --prefix=/usr
	make UIC=uic-qt5 MOC=moc-qt5 RCC=rcc-qt5
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
36db54c47db14a684bf8ba78342d5070b94e8969db7d542626c5a225180f9858bfecb8f46fd11d1bb5364b315599fd173edd5db241f93d304236a271ed49aec3  spnavcfg-1.0.tar.gz
"
